﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="guoguan_list.aspx.cs" Inherits="guoguan_list" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html>


<head runat="server">
      <link rel="stylesheet" href="App_Themes/css/webstyle.css"/>
    <link rel="stylesheet" href="App_Themes/css/mod.ggtj.css"/>
    <link rel="stylesheet" href="App_Themes/css/i6Fzam6N7fIj.css"/>
    <script type="text/javascript" src="js/jquery-1.8.0.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <style type="text/css">
        DIV.sabrosus {MARGIN: 3px; PADDING:5px; TEXT-ALIGN: center;clear:both; padding:10px 0 25px 0; color:#434343;}
        DIV.sabrosus A,DIV.sabrosus A:link ,DIV.sabrosus A:visited{
                 PADDING:2px 12px;TEXT-DECORATION: none; background:#FFF; margin-right: 3px; margin-left: 3px; border:1px solid #D9D9D9; color:#333;}
        DIV.sabrosus A:hover { background:#FF7200; color:#FFF; text-decoration: underline;}
        DIV.sabrosus A.current {
        PADDING:8px 12px; background:#FF7200; border:1px solid #D9D9D9; color:#FFF; font-weight:bold;}
        DIV.sabrosus A.disabled {
    PADDING:8px 12px;background:#F0F0F0; margin-right: 7px; border:0px solid #3D9945; color:#333;}
    </style>
<script type="text/javascript">
    function lotteryInfo(id) {
       window.parent.$.jBox("iframe:/buyInfo.aspx?id=" + id, {
            title: "查看合买号码详细",
            width: 600,
            height: 400,
            top: 200,
            buttons: {}
        })
    }
    </script>
    <title></title>
</head>
<body>
 <div class="tj-bd" style="position:relative;display:<%=LotteryType=="1"||LotteryType=="2"||LotteryType=="6"?"block":"none"%>" >
              <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zdgd_table gg_table" style="margin:0;font-size:12px;">
                <tr class="fb">
                  <td width="61" align="center" valign="middle">序号</td>
                  <td width="138" align="center" valign="middle">发起人</td>
                  <td width="162" align="center" valign="middle">战绩</td>
                  <td width="73" align="center" valign="middle">方案注数</td>
                  <td width="69" align="center" valign="middle">中一等奖</td>
                  <td width="71" align="center" valign="middle">中二等奖</td>
                  <td width="83" align="center" valign="middle">中三等奖</td>
                  <td width="82" align="center" valign="middle">中四等奖</td>
                  <td width="72" align="center" valign="middle">中五等奖</td>
                  <td width="72" align="center" valign="middle">中六等奖</td>
                  <td width="131" align="center" valign="middle">税前总奖金</td>
                  <td width="67" align="center" valign="middle">方案</td>
                </tr>
                <%if (userBuy != null)
      {
          for (int i = 0; i < userBuy.Count; i++)
          {%>
    <tr>
      <td align="center" valign="middle"><%=i+1%></td>
      <td align="center" valign="middle"><%=SelectName(userBuy[i].oneMoney)%></td>   
      <td align="center" valign="middle"><%=ViewModelLevel(Convert.ToInt64(userBuy[i].oneMoney.ToString())) %></td>  
      <td align="center" valign="middle"><%=userBuy[i].twoMoney%></td>   
      <td align="center" valign="middle"><%=userBuy[i].oneCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].twoCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].threeCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].fourCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].fiveCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].sixCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].sumMoney%></td>
      <td align="center" valign="middle"><a href="javascript:void(0);" onclick="return lotteryInfo(<%=userBuy[i].id %>)" class="lan" >查看</a></td>
    </tr>
    <%}
        }
        else {%>
                  <tr><td align="center" colspan="12">没有方案记录。</td></tr>
          <%}%>
              </table>
            </div>
 <div class="tj-bd" style="position:relative;display:<%=LotteryType=="3"||LotteryType=="5" ?"block":"none"%>" >
              <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zdgd_table gg_table" style="margin:0;font-size:12px;">
                <tr class="fb">
                  <td width="61" align="center" valign="middle">序号</td>
                  <td width="138" align="center" valign="middle">发起人</td>
                  <td width="162" align="center" valign="middle">战绩</td>
                  <td width="73" align="center" valign="middle">方案注数</td>
                  <td width="69" align="center" valign="middle">中直选</td>
                  <td width="71" align="center" valign="middle">中组三</td>
                  <td width="83" align="center" valign="middle">中组六</td>
                  <td width="131" align="center" valign="middle">税前总奖金</td>
                  <td width="67" align="center" valign="middle">方案</td>
                </tr>
                <%if (userBuy != null)
      {
          for (int i = 0; i < userBuy.Count; i++)
          {%>
    <tr>
      <td align="center" valign="middle"><%=i+1%></td>
       <td align="center" valign="middle"><%=SelectName(userBuy[i].oneMoney)%></td>   
      <td align="center" valign="middle"><%=ViewModelLevel(Convert.ToInt64(userBuy[i].oneMoney.ToString())) %></td>  
      <td align="center" valign="middle"><%=userBuy[i].twoMoney %></td>      
      <td align="center" valign="middle"><%=userBuy[i].oneCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].twoCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].threeCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].sumMoney%></td>
      <td align="center" valign="middle"><a href="javascript:void(0);" onclick="return lotteryInfo(<%=userBuy[i].id %>)" class="lan" >查看</a></td>
    </tr>
    <%}
        }
        else {%>
                  <tr><td align="center" colspan="12">没有方案记录。</td></tr>
          <%}%>
              </table>
            </div>
    <%--七乐采--%>
    <div class="tj-bd" style="position:relative;display:<%=LotteryType=="7"?"block":"none"%>" >
              <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zdgd_table gg_table" style="margin:0;font-size:12px;">
                <tr class="fb">
                  <td width="61" align="center" valign="middle">序号</td>
                  <td width="138" align="center" valign="middle">发起人</td>
                  <td width="162" align="center" valign="middle">战绩</td>
                  <td width="73" align="center" valign="middle">方案注数</td>
                  <td width="69" align="center" valign="middle">中一等奖</td>
                  <td width="71" align="center" valign="middle">中二等奖</td>
                  <td width="83" align="center" valign="middle">中三等奖</td>
                  <td width="82" align="center" valign="middle">中四等奖</td>
                  <td width="72" align="center" valign="middle">中五等奖</td>
                  <td width="72" align="center" valign="middle">中六等奖</td>
                    <td width="72" align="center" valign="middle">中七等奖</td>
                  <td width="131" align="center" valign="middle">税前总奖金</td>
                  <td width="67" align="center" valign="middle">方案</td>
                </tr>
                <%if (userBuy != null)
      {
          for (int i = 0; i < userBuy.Count; i++)
          {%>
    <tr>
      <td align="center" valign="middle"><%=i+1%></td>
     <td align="center" valign="middle"><%=SelectName(userBuy[i].oneMoney)%></td>   
      <td align="center" valign="middle"><%=ViewModelLevel(Convert.ToInt64(userBuy[i].oneMoney.ToString())) %></td>  
      <td align="center" valign="middle"><%=userBuy[i].twoMoney%></td>   
      <td align="center" valign="middle"><%=userBuy[i].oneCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].twoCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].threeCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].fourCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].fiveCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].sixCount%></td>
            <td align="center" valign="middle"><%=userBuy[i].sevenCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].sumMoney%></td>
      <td align="center" valign="middle"><a href="javascript:void(0);" onclick="return lotteryInfo(<%=userBuy[i].id %>)" class="lan" >查看</a></td>
    </tr>
    <%}
        }
        else {%>
                  <tr><td align="center" colspan="12">没有方案记录。</td></tr>
          <%}%>
                   </table>
                 </div>

         <%--排列五--%>
    <div class="tj-bd" style="position:relative;display:<%=LotteryType=="4"?"block":"none"%>" >
              <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zdgd_table gg_table" style="margin:0;font-size:12px;">
                <tr class="fb">
                  <td width="61" align="center" valign="middle">序号</td>
                  <td width="138" align="center" valign="middle">发起人</td>
                  <td width="162" align="center" valign="middle">战绩</td>
                  <td width="73" align="center" valign="middle">方案注数</td>
                  <td width="69" align="center" valign="middle">中一等奖</td>
                  <td width="131" align="center" valign="middle">税前总奖金</td>
                  <td width="67" align="center" valign="middle">方案</td>
                </tr>
                <%if (userBuy != null)
      {
          for (int i = 0; i < userBuy.Count; i++)
          {%>
    <tr>
      <td align="center" valign="middle"><%=i+1%></td>
     <td align="center" valign="middle"><%=SelectName(userBuy[i].oneMoney)%></td>   
      <td align="center" valign="middle"><%=ViewModelLevel(Convert.ToInt64(userBuy[i].oneMoney.ToString())) %></td>  
      <td align="center" valign="middle"><%=userBuy[i].oneCount%></td>
      <td align="center" valign="middle"><%=userBuy[i].sumMoney%></td>
      <td align="center" valign="middle"><a href="javascript:void(0);" onclick="return lotteryInfo(<%=userBuy[i].id %>)" class="lan" >查看</a></td>
    </tr>
    <%}
        }
        else {%>
                  <tr><td align="center" colspan="12">没有方案记录。</td></tr>
          <%}%>
              </table>
            </div>
     <%if (userBuy != null)
         {%>
     <div class="zdgd_page"> 
         <form runat="server">
  <webdiyer:aspnetpager SubmitButtonClass="buttons"  ID="AspNetPager1" 
                    runat="server" AlwaysShow="True" FirstPageText="首页"
                        NextPageText="下一页" PrevPageText="前一页" LastPageText="尾页" PageSize="10"  
                        OnPageChanged="AspNetPager1_PageChanged">
                    </webdiyer:aspnetpager></form></div>        
      <%}%>
</body>
</html>
